package com.nineclock.document.service;

import com.nineclock.common.entity.PageResult;
import com.nineclock.document.dto.DocUserCollaborationDTO;
import com.nineclock.document.dto.DocumentUserDTO;

import java.util.List;
import java.util.Map;

public interface DocCollaborationsService {
    List<DocUserCollaborationDTO> pagingUsers(Long id);
    PageResult<DocumentUserDTO> pagingCollaborations(Long id, Integer page, Integer pageSize);

    void insertCollaboration(Map<String, Object> map);

    void deleteCollaboration(Map<String, Object> map);
}
